﻿namespace Com.Lancetinc.Evs.Config;

public class ReportConfig : AbsConfig
{
    public static ReportConfig Default => new();

    /// <inheritdoc />
    public override string ConfigPath { get; }

    /// <summary>
    /// 报告名称
    /// </summary>
    public string ReportTitle { get; set; }

    /// <summary>
    /// 报告副标题
    /// </summary>
    public string ReportSubTitle { get; set; }

    /// <summary>
    /// 是否启用头部logo
    /// </summary>
    public bool UseBanner { get; set; }

    /// <summary>
    /// 头部logo文件名
    /// </summary>
    public string BannerFileName { get; set; }

    /// <summary>
    /// 报告术语
    /// terminologies
    /// </summary>
    public string Terms { get; set; }

    public ReportConfig()
    {
        ConfigPath = GetConfigFile("report.json", true);
    }
}